<?php //echo <a href="index.php?module=nguoitimviec&act=add">Thêm</a>?>
<form action="index.php?module=nguoitimviec&act=list&mode=delall" method="post">
<table border="1" width="400" align="center">
	<tr>
		<td>stt</td>
    	<td>Check</td>
        <td>Tên đăng nhập</td>
        <td>Email</td>
        <td>Họ tên</td>
        <td>Phái</td>
        <td>Tình trạng hôn nhân</td>
        <td>Ngày sinh</td>
        <td>Số ĐT</td>
        <td>Địa chỉ</td>
        <td>Del</td>
    </tr>
    <?php
	foreach($data['info'] as $item){
		$stt++;
		echo "<td>$stt</td>";
		echo "<td><input type='checkbox' name=id[] value='$item[ID_NTV]' /></td>";
		echo "<td>$item[USERNAME_NTV]</td>";
		echo "<td>$item[EMAIL_NTV]</td>";
		echo "<td>$item[TEN_NTV]</td>";
		echo "<td>$item[PHAI_NTV]</td>";
		echo "<td>$item[STATUS_HN]</td>";
		echo "<td>$item[NSINH_NTV]</td>";
		echo "<td>$item[SODT_NTV]</td>";
		echo "<td>$item[DIACHI_NTV]</td>";
	//	echo "<td><a href=index.php?module=nguoitimviec&act=edit&ntvid=$item[ID_NTV]>Sửa</a></td>";
		echo "<td><a href=index.php?module=nguoitimviec&act=del&ntvid=$item[ID_NTV]>Xóa</a></td>";
		echo "</tr>";
	}
	?>
    <tr>
    	<td colspan="12" align="center">
    	<input type="submit" name="ok" value="Delete" />
        </td>
    </tr>
</table>
</form>